import sys
import camelot

tables = camelot.read_pdf(sys.argv[1], pages='all', flavor='lattice')
# camelot可能自动处理跨页表格，但需要验证
print(tables)
for table in tables:
    print("**"*20)
    print(table)
